using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace FreeSqlLearn {

	[JsonObject(MemberSerialization.OptIn), Table(DisableSyncStructure = true)]
	public partial class rq_complaint {

		[JsonProperty, Column(IsPrimary = true, IsIdentity = true)]
		public int id { get; set; }

		/// <summary>
		/// 投诉日期
		/// </summary>
		[JsonProperty]
		public DateTime? comdate { get; set; }

		/// <summary>
		/// 投诉处理内容
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(500)")]
		public string comhandelcon { get; set; }

		/// <summary>
		/// 投诉处理日期
		/// </summary>
		[JsonProperty]
		public DateTime? comhandeldate { get; set; }

		/// <summary>
		/// 投诉处理人
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(50)")]
		public string comhandelpeo { get; set; }

		/// <summary>
		/// 投诉内容
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(500)")]
		public string complaincon { get; set; }

		/// <summary>
		/// 投诉对象
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(100)")]
		public string complaintobj { get; set; }

		/// <summary>
		/// 投诉人
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(50)")]
		public string complaintpeo { get; set; }

		/// <summary>
		/// 投诉状态 0已投诉未处理   1已处理  2已反馈 
		/// </summary>
		[JsonProperty]
		public int? comstate { get; set; }

		[JsonProperty]
		public int? comtype { get; set; }

		/// <summary>
		/// 带车教练id
		/// </summary>
		[JsonProperty]
		public Guid? jlid { get; set; }

		[JsonProperty]
		public Guid? JxCode { get; set; }

		[JsonProperty]
		public Guid? stuId { get; set; }

	}

}
